package com.hellobike.haxing.modules.coupon.service;

import com.hellobike.haxing.modules.coupon.entity.Coupon;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 优惠券
 * @Author: haxing-boot
 * @Date:   2020-02-01
 * @Version: V1.0
 */
public interface ICouponService extends IService<Coupon> {

    List<Coupon> getByIds(List<Long> idList);

    /**
     * 推还优惠券
     * @param userCouponId 用户优惠券ID
     */
    void returnUserCoupon(Long userCouponId);
}
